<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body><a href="DownloadServlet1?filename=1.jpg">图片</a><br>
<a href="DownloadServlet1?filename=2.avi">视频</a>

</body>
</html>